package com.sumer.psychology.blog.infrastructure.persistence.mongo;

import com.sumer.psychology.common.persistence.mongodb.AbstractSimpleMongoRepository;

/**
 * mongo目录
 * <p/>
 * Created by zhu on 14-10-12.
 */
public class MongoCategoryRepository extends AbstractSimpleMongoRepository {
    private static final String MONGO_CATEGORY = "sumer_category";
    private static final String MONGO_CATEGORY_KEY = "categoryId.identity";

    @Override
    protected String dbName() {
        return MONGO_CATEGORY;
    }

    @Override
    protected String key() {
        return MONGO_CATEGORY_KEY;
    }

    @Override
    public void add(String data) {
        super.add(data);
    }

    @Override
    public void change(String data) {
        super.change(data);
    }

    @Override
    public void removeOne(String id) {
        super.removeOne(id);
    }
}
